@charset "UTF-8";
/* 轮播图部分 */
.carousel {
  width: 1200px;
  height: 441px;
  margin: 0 auto;
  position: relative;
}
.swiper-container {
  position: absolute;
  width: 980px;
  z-index: 2;
}
.swiper-wrapper {
  // background-color: orange;
  width: 980px;
  height: 441px;
}
.swiper-slide {
  width: 500px;
  height: 500px;
  float: left;
}
.swiper-pagination-bullet {
  width: 20px;
  height: 20px;
  color: white;
  background-color: black;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background-color: orange;
}
.right-banner {
  position: absolute;
  right: 0px;
  z-index: 8;
}
/* 人气单品列 */
/* 上部 */
.tab {
  width: 1200px;
  height: 280px;
  margin: 0 auto;
  overflow: hidden;
  box-sizing: border-box;
  .tab_list {
    position: relative;
    height: 35px;
    line-height: 35px;
    margin-top: 10px;
    font-size: 20px;
    border-bottom: 1px solid #949494;
    li {
      float: left;
      height: 17px;
      line-height: 17px;
      padding: 5px 10px 0 10px;
      margin-left: -1px;
      font-size: 16px;
      border-left: solid 1px #828282;
      cursor: pointer;
    }
    li:nth-child(1) {
      border: none;
    }
  }
  .tab_list .current {
    color: #f40;
  }
  .more {
    .footer {
      position: relative;
      top: -200px;
      float: left;
      width: 33px;
      height: 33px;
      margin: 134px 0 0 40px;
      cursor: pointer;
      background: url("../img/sprite.png") 0 -130px no-repeat;
      z-index: 50;
    }
  }
}
/* 下部 */
.tab_con {
  padding: 8px 0;
}
.tab_con > .item > ul > li {
  position: relative;
  float: left;
  width: 172px;
  a {
    display: inline-block;
    overflow: hidden;
    img {
      display: inline-block;
      width: 100%;
      height: 100%;
      height: 176px;
      overflow: hidden;
      transition: all 1s linear;
      // overflow: hidden;
      &:hover {
        transform: scale(1.1);
      }
    }
  }
  h3 {
    width: 170px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: 26px;
    line-height: 26px;
  }
  p {
    color: #f40;
    text-align: center;
  }
  i {
    position: absolute;
    bottom: 80px;
    right: 5px;
    z-index: 1;
    text-align: center;
    font-size: 10px;
    line-height: 15px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #f40;
    color: white;
    font-style: normal;
  }
}
// 热销品牌列
.first {
  width: 1200px;
  height: 444px;
  margin: 0 auto;
  position: relative;
  margin-top: 5px;
  .first_t {
    float: left;
    display: block;
    width: 910px;
    height: 35px;
    line-height: 35px;
    margin-top: 10px;
    border-bottom: 1px solid #949494;
    // float: left;
    // position: relative;
    li {
      float: left;
      height: 17px;
      line-height: 17px;
      padding: 5px 10px 0 10px;
      margin-left: -1px;
      font-size: 16px;
      border-left: solid 1px #828282;
      cursor: pointer;
    }
    li:nth-child(1) {
      border: none;
    }
  }
  .first_t .current {
    color: #f40;
  }
  .first_b {
    width: 910px;
    overflow: hidden;
    .itemy {
      height: 444px;
      display: block;
      li {
        float: left;
        width: 122px;
        height: 122px;
        margin: 5px 6px 0px 0;
        overflow: hidden;
        border: solid 1px #dfdfdf;
        position: relative;
        a {
          display: block;
        }
        .img {
          width: 122px;
          height: 122px;
          display: block;
          img {
            width: 80%;
            height: 80%;
            margin: 10%;
          }
        }
        .txt {
          width: 122px;
          height: 122px;
          line-height: 122px;
          background-color: white;
          position: absolute;
          top: 10px;
          z-index: 25;
          display: none;
          font-weight: bold;
          color: red;
          text-align: center;
        }
        &:hover .txt {
          display: block;
        }
      }
    }
  }
  .first_r {
    width: 289px;
    position: absolute;
    top: 4px;
    right: 0px;
    .f_hd {
      height: 35px;
      line-height: 35px;
      border-bottom: 1px solid #949494;
      margin: 6px 0;
    }
    .f_bd {
      .slide {
        position: relative;
        .s_txt {
          font-size: 12px;
          text-align: center;
          line-height: 20px;
          li:nth-child(1) {
            position: absolute;
            bottom: 24px;
            right: 52%;
            width: 70px;
            height: 40px;
            padding: 4px;
            background-color: white;
            autofocus: "autofocus";

            // background-color: #000;
            // color: white;
          }
          li:nth-child(2) {
            position: absolute;
            bottom: 30px;
            right: 24%;
            width: 70px;
            height: 40px;
            background-color: white;
          }
          li:hover {
            background: black;
            color: white;
          }
        }
        .s_img {
          .iteme:nth-child(2) {
            position: absolute;
          }
        }
        .s_img .iteme {
          display: block;
        }
      }
    }
  }
}
// 户外运动
.m-bd {
  width: 1200px;
  height: 510px;
  margin: 0 auto;
  overflow: hidden;
  // 上部
  .hd {
    margin-bottom: 10px;
    position: relative;
    height: 35px;
    line-height: 35px;
    border-bottom: 1px solid #949494;
    i {
      display: inline-block;
      width: 3px;
      height: 22px;
      background: #949494;
      margin-right: 10px;
      vertical-align: middle;
    }
  }
  // 下部
  .bd {
    // 左侧
    .floor-brand {
      position: relative;
      .swiper-container {
        width: 226px;
        background-color: gainsboro;
        .swiper-wrapper {
          width: 226px;
          height: 286px;
          padding: 5px;
          .swiper-slide {
            width: 226px;
            // height: 286px;
            float: left;
            a {
              display: block;
              float: left;
              width: 100px;
              height: 55px;
              margin: 5px;
              background-color: white;
              position: relative;
              img {
                width: 60%;
                height: 60%;
                position: absolute;
                top: 10px;
                left: 20%;
              }
            }
          }
        }
        .swiper-pagination-bullet {
          width: 8px;
          height: 8px;
          color: white;
          background-color: black;
          opacity: 1;
        }
        .swiper-pagination-bullet-active {
          background-color: #f40;
        }
      }
      .floor-brand-down {
        border: 1px solid gainsboro;
        position: absolute;
        bottom: -460px;
        width: 224px;
        height: 162px;
        ul {
          margin-top: 10px;
          li {
            font-size: 12px;
            float: left;
            width: 69px;
            height: 31px;
            white-space: nowrap;
            overflow: hidden;
            margin: 0 2px;
            .hl {
              color: #f40;
            }
          }
        }
      }
    }
    // 内容中tab切换
    .floor_slide {
      width: 390px;
      position: relative;
      left: 240px;
      .m_slide {
        width: 390px;
        height: 460px;
        .fl_img {
          width: 100%;
          .itemm {
            a {
              img {
                width: 390px;
                height: 457px;
              }
            }
          }

          .itemm:nth-child(2) {
            display: block;
            position: absolute;
            top: 0px;
          }
          .itemm:nth-child(2) {
            display: block;
            position: absolute;
            top: 0px;
          }
        }
        .fl_tab {
          font-size: 12px;
          text-align: center;
          line-height: 20px;
          li:nth-child(1) {
            position: absolute;
            bottom: 60px;
            right: 52%;
            width: 100px;
            height: 60px;
            background-color: white;
          }
          li:nth-child(2) {
            position: absolute;
            bottom: 60px;
            right: 24%;
            width: 100px;
            height: 60px;
            background-color: white;
          }
          li:hover {
            background: black;
            color: white;
          }
        }
      }
    }
    // 右侧
    .floor-goods {
      width: 570px;
      float: right;
      position: relative;
      top: -460px;
      ul {
        li {
          border: 1px solid gainsboro;
          display: inline-block;
          overflow: hidden;
          text-align: center;
          width: 188px;
          height: 227px;
          float: left;
          a {
            display: inline-block;
            overflow: hidden;
            img {
              width: 100%;
              height: 80%;
              transition: all 1s linear;
              &:hover {
                transform: scale(1.1);
              }
            }
          }
          h3 {
            width: 180px;
            height: 16px;
            font-size: 12px;
            overflow: hidden;
            // white-space: nowrap;
            // text-overflow: ellipsis;
            // display: block;
            // word-wrap: normal;
          }
          strong {
            color: #f40;
            font-size: 16px;
          }
        }
      }
    }
  }
}
